package com.wyclabs.cardmaker;
import javafx.fxml.FXML;
import javafx.scene.Parent;
import javafx.stage.Stage;
import lombok.Data;

/**
 * @author TylerW
 * @date 06/22/21 2:37 PM
 */
@Data
public abstract class CommonController {

    @FXML
    private Parent root;

    public Stage getRootStage() {
        return (Stage) this.getRoot().getScene().getWindow();
    }

}
